package com.pan.kang.executor;

import com.pan.kang.core.PostProcessExecutor;
import lombok.Getter;

public enum TaskExecutors {

    OrderHistoryExecutor(OrderHistoryExecutor.class),
    ClearShoppingCardExecutor(ClearShoppingCardExecutor.class),
    ReduceSkuStockExecutor(ReduceSkuStockExecutor.class),

    ;

    @Getter
    private final Class<? extends PostProcessExecutor> executorType;

    TaskExecutors(Class<? extends PostProcessExecutor> executorType) {
        this.executorType = executorType;
    }
}
